package com.example.eureka_client.mapper;

import com.example.eureka_client.entity.CommentsInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 父评论表 Mapper 接口
 * </p>
 *
 * @author plj
 * @since 2022-03-24
 */
public interface CommentsInfoMapper extends BaseMapper<CommentsInfo> {
    boolean removeById(String id);
    CommentsInfo getById(String id);
    List<CommentsInfo> getAnswerComments(String answerId);
}
